<template>
  <router-view />
</template>

<script setup>
// 无需额外代码
</script>

<style>
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f7f9fb 0%, #e9ecf2 100%);
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: #223048;
  letter-spacing: 0.01em;
}

/* 最大宽度/居中 */
#app {
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 标题风格 */
h1, h2, h3 {
  font-family: 'Segoe UI Semibold', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  font-weight: 600;
  color: #25355a;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.25;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }

/* 商务按钮风格 */
button {
  font-family: inherit;
  font-size: 16px;
  min-width: 88px;
  min-height: 38px;
  border-radius: 7px;
  border: 1px solid #27468a;
  background: #27468a;
  color: #fff;
  box-shadow: 0 1px 3px rgba(39,70,138,0.06);
  cursor: pointer;
  transition: 
    background 0.2s,
    border 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
button:hover:not(:disabled) {
  background: #1d335e;
  border-color: #1d335e;
}
button:active:not(:disabled) {
  background: #12203a;
  border-color: #12203a;
}
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #a5b8d8;
}

/* 禁用按钮 */
button:disabled, .btn:disabled {
  background: #c2c8d6;
  color: #ffffffcc;
  border-color: #c2c8d6;
  cursor: not-allowed;
}

/* 输入框商务风 */
input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  border-radius: 7px;
  border: 1px solid #c2c8d6;
  background: #f9fafb;
  color: #25355a;
  padding: 9px 12px;
  outline: none;
  box-shadow: none;
  transition: border 0.2s, background 0.2s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid #27468a;
  background: #f3f7fd;
}

/* 链接风格 */
a {
  color: #27468a;
  text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 1px solid transparent;
}
a:hover {
  color: #1d335e;
  border-bottom: 1px solid #27468a;
}

/* 卡片风格 */
.card, .modal, .popup {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e9ef;
  box-shadow: 0 2px 10px rgba(50,60,90,0.08);
  padding: 24px;
}

/* 空状态/提示信息 */
.empty, .msg {
  color: #7480a1;
  font-size: 15px;
}

/* 列表风格 */
ul, ol {
  padding-left: 0;
  margin-top: 0;
}

/* 滚动条低调美化 */
::-webkit-scrollbar {
  width: 7px;
  background: #f0f2f8;
}
::-webkit-scrollbar-thumb {
  background: #c2c8d6;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a5b8d8;
}

/* 响应式适配 */
@media (max-width: 640px) {
  html, body { font-size: 15px; }
  .card, .modal, .popup { padding: 14px !important; }
}

/* 过渡效果控制 */
* {
  box-sizing: border-box;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
</style>
